FROM openjdk:8u121-jre
ENV TZ=Asia/Shanghai
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
ADD target/ruoyi-admin.jar /ruoyi-admin.jar
CMD java -jar /ruoyi-admin.jar
